<%--
  Created by IntelliJ IDEA.
  User: XTT
  Date: 2022/10/20
  Time: 16:12
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>订单</title>
</head>
<body>
    <form>
        <input type="text">
        <input type="submit" value="查询">
    </form>
    <table border="1">
        <tr>
            <td>订单id</td>
            <td>订单编码</td>
            <td>订单日期</td>
            <td>订单状态</td>
            <td>姓名</td>
        </tr>
        <c:forEach items="${odlist}" var="a">
            <tr>
                <td>${a.orderId}</td>
                <td>${a.book.bookName}</td>
                <td>${a.book.bookPrice}</td>
                <td>${a.bookCount}</td>
                <td>${a.bookCount*a.book.bookPrice}</td>
            </tr>
        </c:forEach>
    </table>
</body>
</html>
